package ooday003;

public class Teacher extends YuanGong {


    Teacher(String name, int age, double wages) {
        super(name, age, wages);
    }

    void upWork() {
        System.out.println(wages + "工资" + age + "岁的" + name + "正在上班打卡");

    }
    void downWork(){
        System.out.println(wages+"工资"+age+"岁的"+name+"正在下班打卡");
    }
     void finalWork(){
         System.out.println("班主任已经完成工作");

    }

}